package com.doria.common.ad_enum;

/**
 * 响应消息枚举
 */
public enum MsgEnum {

    SUCCESS("操作成功","Successful operation"),
    ERROR("操作失败","operation failed"),
    PERMISSIONS_ERROR("权限错误","Permission error"),
    BAD_PARAM("参数错误","Parameter error"),
    NOT_NULL(" 不能为空","Can not be empty"),
    INVALID_TOKEN("无效token","Invalid token"),
    SMS_CODE_ERROR("短信验证码错误","SMS verification code error"),
    SMS_CODE_NOT_EXP("短信验证码未过期","SMS verification code has not expired")
    ;

    private final String en;
    private final String cn;

    public String getEn() {
        return this.en;
    }

    public String getCn() {
        return this.cn;
    }

    MsgEnum(String cn, String en) {
        this.en = en;
        this.cn = cn;
    }
}
